﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IFlashMessanger.cs" company="">
//   Copyright (c) 2010/2011 All Right Reserved
// </copyright>
// <summary>
//   Contains IFlashMessanger interface declaration.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace IBupro.Classes
{
    using System.Collections.Generic;

    /// <summary>
    /// Interface for flash messenger classes.
    /// </summary>
    public interface IFlashMessenger
    {
        void AddMessage(string content, MessageType messageType);

        IEnumerable<string> GetMessages(MessageType messageType);
        
        IEnumerable<string> GetMessages();
        
        bool HasMessages { get; }
        
        void RemoveAllMessages();
    }
}